<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link type="text/css" rel="stylesheet" href="/Home/css/style.css" />
    <!--[if IE 6]>
    <script src="/Home/js/iepng.js" type="text/javascript"></script>
        <script type="text/javascript">
           EvPNG.fix('div, ul, img, li, input, a'); 
        </script>
    <![endif]-->    
    <script type="text/javascript" src="/Home/js/jquery-1.11.1.min_044d0927.js"></script>
	<script type="text/javascript" src="/Home/js/jquery.bxslider_e88acd1b.js"></script>
    
    <script type="text/javascript" src="/Home/js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="/Home/js/menu.js"></script>    
        
	<script type="text/javascript" src="/Home/js/select.js"></script>
    
	<script type="text/javascript" src="/Home/js/lrscroll.js"></script>
    
    <script type="text/javascript" src="/Home/js/iban.js"></script>
    <script type="text/javascript" src="/Home/js/fban.js"></script>
    <script type="text/javascript" src="/Home/js/f_ban.js"></script>
    <script type="text/javascript" src="/Home/js/mban.js"></script>
    <script type="text/javascript" src="/Home/js/bban.js"></script>
    <script type="text/javascript" src="/Home/js/hban.js"></script>
    <script type="text/javascript" src="/Home/js/tban.js"></script>
    
	<script type="text/javascript" src="/Home/js/lrscroll_1.js"></script>
    
    
<title>NBshop</title>
</head>
<body>  
<!--Begin Header Begin-->
@include('Home.parent')
<!--End Header End--> 
<!--Begin Login Begin-->
<div class="log_bg">	
    <div class="top">
        <div class="logo"><a href="index"><img src="/Home/images/nb.png" / width="207px" height="55px" /></a></div>
    </div>
	<div class="regist">
    	<div class="log_img"><img src="/Home/images/l_img.png" width="611" height="425" /></div>
		<div class="reg_c">
        	<form action="wen" method="post" enctype="multipart/form-data">
          <input type="hidden" name="_token" value="<?php echo csrf_token();?>">
            <table border="0" style="width:420px; font-size:14px; margin-top:20px;" cellspacing="0" cellpadding="0">
              <tr height="50" valign="top">
              	<td width="95">&nbsp;</td>
                <td>
                	<span class="fl" style="font-size:24px;">编辑个人信息</span>
                    <span class="fr"><a href="member" style="color:#ff4e00;">返回</a></span>
                </td>
              </tr>
                <tr height="50">
                <td align="right"><font color="#ff4e00">*</font>&nbsp;用户名 &nbsp;</td>
                <td><input type="text" name="user_name" value="{{$date->user_name}}" class="l_user" />
                </td>
              </tr>
              <tr height="50">
                <td align="right"><font color="#ff4e00"></font>&nbsp;用户头像 &nbsp;</td>
                <td>
                 <input type="file" name="user_photo" id="v" value="{{$date->user_photo}}" onchange="show_img()"/>
                </td>
              </tr>
              <tr height="100">
               <td align="right"><font color="#ff4e00"></font>&nbsp; &nbsp;</td>
                <td >
                 <img src="{{$date->user_photo}}" id="k" width="100" height="100" />
                </td>
              </tr>
              <tr height="50">
                <td align="right"><font color="#ff4e00">*</font>&nbsp;密码 &nbsp;</td>
                <td><input type="password"  name="user_password" value="{{$date->user_password}}" class="l_pwd" />
                </td>
              </tr>
              <tr height="50">
                <td align="right"><font color="#ff4e00">*</font>&nbsp;邮箱 &nbsp;</td>
                <td><input type="text" name="user_email" value="{{$date->user_email}}" class="l_email" />
                </td>
              </tr>
              <tr height="50">
                <td align="right"><font color="#ff4e00">*</font>&nbsp;手机 &nbsp;</td>
                <td><input type="text" name="user_tel" value="{{$date->user_tel}}" class="l_tel" />
                </td>
              </tr>
              
            
              <!-- <tr>
              	<td>&nbsp;</td>
                <td style="font-size:12px; padding-top:20px;">
                	<span style="font-family:'宋体';" class="fl">
                    	<label class="r_rad"><input type="checkbox" /></label><label class="r_txt">我已阅读并接受《用户协议》</label>
                    </span>
                </td>
              </tr> -->
              <tr height="80">
              	<td>&nbsp;</td>
                <td><input type="submit" value="保存" class="log_btn" /></td>
              </tr>
            </table>
            </form>
        </div>
    </div>
</div>
<!--End Login End--> 
<!--Begin Footer Begin-->
<div class="btmbg">
    <div class="btm">
        备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com   Copyright © 2015-2018 NBshop商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group <br />
        <img src="/Home/images/b_1.gif" width="98" height="33" /><img src="/Home/images/b_2.gif" width="98" height="33" /><img src="/Home/images/b_3.gif" width="98" height="33" /><img src="/Home/images/b_4.gif" width="98" height="33" /><img src="/Home/images/b_5.gif" width="98" height="33" /><img src="/Home/images/b_6.gif" width="98" height="33" />
    </div>    	
</div>
<!--End Footer End -->    

</body>


<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>
<script type="text/javascript">
    function show_img(){
        //利用files获得被上传附件(图片)信息
        var filedata = document.getElementById('v').files[0];
        document.getElementById('k').src = window.URL.createObjectURL(filedata);
    }
</script>